<?php
Yii::setPathOfAlias('rootPath','/opt/lampp/htdocs/yii-cms');
define('SITE_URL', 'http://localhost/yii-cms');
define('SITE_PATH', dirname(dirname(dirname(__FILE__))));
return array(
	// application components
	'components'=>array(
		// uncomment the following to use a MySQL database
		'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=yii-cms',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => '123456',
			'charset' => 'utf8',
		),
	),
	// using Yii::app()->params['paramName']
	'params'=>array(
		// this is used in contact page
		'site_url'			=>	SITE_URL,
		'site_path'		=>SITE_PATH,
		'media_path'	=>SITE_PATH.	DS.'media',
		'adminEmail'		=>'phuong.nguyen.itvn@gmail.com',
		'language_default'=>'vi',
		'languages'	=>	array(
			'vi'	=>	'Vietnamese',
			'en'	=>	'English',
		),
		'multilang'=>true
	),
);